package com.wenjie.original.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import com.wenjie.original.entity.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@Table("sku")
@ApiModel("商品信息")
public class Sku extends BaseEntity {

    @Id(keyType = KeyType.Generator, value = KeyGenerators.snowFlakeId)
    @ApiModelProperty("参数主键")
    private Long skuId;

    @ApiModelProperty("品名")
    private String skuName;

    @ApiModelProperty("条形码")
    private String skuBarCode;

    @ApiModelProperty("重量(KG)")
    private String skuWeight;

    @ApiModelProperty("描述")
    private String mark;


}